const { defineConfig } = require("@vue/cli-service");
const path = require("path");

module.exports = defineConfig({
  transpileDependencies: true,
  publicPath:"./",
  chainWebpack: (config) => {
    config.module
      .rule("md")
      .test(/\.md/)
      .use("vue-loader")
      .loader("vue-loader")
      .end()
      .use(path.resolve("./build/md-loader/index.js"))
      .loader(path.resolve("./build/md-loader/index.js"))
      .end()
  },
});
